<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib uri="http://www.springframework.org/tags/form" prefix="form"%>
<%@ taglib uri="http://www.springframework.org/tags" prefix="spring"%>
<%@ taglib prefix="fmt" 
           uri="http://java.sun.com/jsp/jstl/fmt" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
	<title>Fiche événement</title>
</head>
<body>

	<div id="event">
		<h2>${event.titre}</h2>
		<div id="descriptEvent">
			<c:if test="${not empty event.img}">
				<img src="${image}" alt=""/>
			</c:if>
		${event.description}</div>
		<div><span class="lab">Début: </span><fmt:formatDate value="${event.dateDebut}" pattern="dd-MMM-yyyy" /></div>
		<div class="bigmarginbottom"><span class="lab">Fin: </span><fmt:formatDate value="${event.dateExpiration}" pattern="dd-MMM-yyyy" /></div>

<a href="<%=request.getContextPath()%>/agenda/liste" class="btn btn-lg btn-primary ">Retourner à la liste</a>		
		
		
	</div>
</body>
</html>